package com.huatai.exchange.dal.dao;

import com.huatai.exchange.dal.model.ExcCommunication;
import com.huatai.exchange.dal.model.ExcCustomer;

import java.util.List;

public interface ExcCustomerDAO {

    ExcCustomer queryById(String id) throws Exception;


    List<ExcCustomer> queryByModel(ExcCustomer customer) throws Exception;

    //
    void insert(ExcCustomer excCustomer) throws Exception;

    //
    Long updateById(ExcCustomer excCustomer) throws Exception;

    Long deleteById(String id) throws Exception ;

}
